class AddColumnsToMember < ActiveRecord::Migration
  def self.up
    add_column :members, :name, :string
    add_column :members, :surname, :string
    add_column :members, :address, :string
    add_column :members, :birthday, :date
    add_column :members, :occupation, :string
    add_column :members, :about, :text
  end

  def self.down
    remove_column :members, :about
    remove_column :members, :occupation
    remove_column :members, :birthday
    remove_column :members, :address
    remove_column :members, :surname
    remove_column :members, :name
  end
end
